Imports Microsoft.VisualBasic

Public Class Estacion

    Private _id As Integer
    Private _estacion As String
    Private _descripcion As String

    Public Sub New(ByVal estacion As String, ByVal descripcion As String, Optional ByVal id As Integer = -1)

        _id = id
        _estacion = estacion
        _descripcion = descripcion

    End Sub
    Public Property ID() As Integer
        Get
            Return _id
        End Get
        Set(ByVal value As Integer)
            _id = value
        End Set
    End Property

    Public Property Estacion() As String
        Get
            Return _estacion
        End Get
        Set(ByVal value As String)
            _estacion = value
        End Set
    End Property

    Public Property Descripcion() As String
        Get
            Return _descripcion
        End Get
        Set(ByVal value As String)
            _descripcion = value
        End Set
    End Property

End Class
